package com.qishon.pc.domain.util;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;



/**
 * Created by yuquan.hu on 2017/1/5.
 */
@Slf4j

public class HttpResult {
    private int httpStatus;

    private String result;

    /**
     *
     * @param httpStatus
     * @param result
     */
    public HttpResult(int httpStatus, String result) {
        this.httpStatus = httpStatus;
        this.result = result;
    }

    /**
     *
     * @Description:
     * @return
     * @author zhizhao.wang
     * @date 2015骞�鏈�4鏃�涓嬪崍17:45:59
     */
    public int getHttpStatus() {
        return this.httpStatus;
    }

    /**
     *
     * @Description:
     * @param httpStatus
     * @author zhizhao.wang
     * @date 2015骞�鏈�4鏃�涓嬪崍17:46:08
     */
    public void setHttpStatus(int httpStatus) {
        this.httpStatus = httpStatus;
    }

    /**
     *
     * @Description:
     * @return
     * @author zhizhao.wang
     * @date 2015骞�鏈�4鏃�涓嬪崍17:46:14
     */
    public String getResult() {
        return this.result;
    }

    /**
     *
     * @Description:
     * @param result
     * @author zhizhao.wang
     * @date 2015骞�鏈�4鏃�涓婂崍17:46:20
     */
    public void setResult(String result) {
        this.result = result;
    }
}
